<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>伪链接</title>
</head>

<body>
  <a href="javascript:alert('hello world')">弹框</a>
  <a href="javascript:;">伪链接1</a>
  <a href="#" onclick="return false">伪链接2</a>
</body>

</html>